package online.yysh.charging;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;

import online.yysh.charging.base.BaseActivity;

public class H5Activity extends BaseActivity {

    private WebView wb;

    @Override
    protected int getLayoutId() {
        return R.layout.activity_long_picture;
    }

    @Override
    protected void initView(Bundle savedInstanceState) {
        wb = findViewById(R.id.webView);
        WebSettings settings = wb.getSettings();
        //设置自适应屏幕
        settings.setUseWideViewPort(true);
        settings.setLoadWithOverviewMode(true);
        wb.loadUrl("https://www.sinoicar.com/AppInfo/h5.html");
    }

    @Override
    protected void initData() {

    }
}